{% include "dashboard/header.html" %}

<body>

<div class="container">
    {% if message %}
    <div class="alert alert-danger">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <strong>Atenção!</strong> {{ message }}
    </div>
    {% endif %}
    <form class="form-signin" action="{% url "core.views.login_dashboard" %}" method="post">
        {% csrf_token %}
        <h2 class="form-signin-heading">Login</h2>
        <input type="text" class="form-control" name="email" placeholder="Email address" autofocus="">
        <input type="password" class="form-control"  name="password" placeholder="Password">
        <label class="checkbox">
            <input type="checkbox" value="remember-me"> Remember me
        </label>
        <button class="btn btn-large btn-primary btn-block" type="submit">Acessar</button>
    </form>

</div> <!-- /container -->

{% include "dashboard/footer.html" %}